package kr.saeildamil.androidstudty.ch07;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.view.View;

public class MyView extends View {

	public MyView(Context context) {
		super(context);
	}

	@Override
	protected void onDraw(Canvas canvas) {
		canvas.drawColor(Color.LTGRAY);//배경색을 밝은 회색으로 채우기
		Paint paint = new Paint();
		paint.setColor(Color.BLUE);//그리는 도구의 색깔을 파랑색으로 설정
		
		canvas.drawCircle(100, 100, 80, paint);
	}
}
